package com.xoa.service.workflow.FlowOpinion;

import com.xoa.model.workflow.FlowOpinion;
import com.xoa.util.ToJson;

import javax.servlet.http.HttpServletRequest;

public interface FlowOpinionService {
    public ToJson<FlowOpinion> selectAllFlowOpinion();

    public ToJson<FlowOpinion> selectFlowOpinion(HttpServletRequest request);

    public ToJson<FlowOpinion> insertFlowOpinion(FlowOpinion flowOpinion, HttpServletRequest request);

    public ToJson<FlowOpinion> delFlowOpinion(Integer opinionId);

    public ToJson<FlowOpinion> delFlowOpinion2(Integer opinionId);

    public ToJson<FlowOpinion> selFlowOpinionById(Integer opinionId);

    public ToJson<FlowOpinion> updateFlowOpinionById(FlowOpinion flowOpinion, HttpServletRequest request);
}
